# config file for static gui settings

import os

root_directory = os.path.dirname(__file__)
                                    
current_project_file = os.path.join(root_directory, ".current_prj")
images_directory = os.path.join(root_directory, "images")


# project settings
project_file_extension = ".epiprj"
project_db_dir_name = "db_files"
project_app_dir_name = "application_files"
project_directories = [project_db_dir_name, project_app_dir_name]


application_cache_file = os.path.join(root_directory, ".epistasisongrid")
application_db_file = os.path.join(root_directory, "snp_gene_db.db")

# database settings
epistasis_database_file = "epistasis_db"

genotype_table = "SubjectGenotype"

phenotype_table = "SubjectPhenotype"

class_table = "SubjectClass"

subject_table = "Subject"

snp_gene_table = "SnpGene"

db_name = "epistasis_data"

db_hostname = "localhost"
db_username = "monetdb"
db_password = "monetdb"

db_memory_limit = 1000000 # KBs

# epistasis settings
epistasis_directory_name = "epistasis" # located in application_directory?????

epi_status_directory_name = "status_files"

epi_output_directory_name = "output_files"

#epistasis_directories = [epi_status_directory_name, epi_output_directory_name]

path_to_gridepistasis = os.path.join(os.path.dirname(__file__), "..","grid_epistasis")

status_file_extension = "_status.pkl"

epistasis_job_summary_file_path = "epifilesCLASS/summary_class_CLASS.txt" # CLASS is a place holder for the class that will be inserted 
